FROM foxnull2/java:11
EXPOSE 8080

VOLUME /tmp
ADD target/foxmall-product.jar  /app.jar
RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java","-Xms64m","-Xmx100m","-jar","/app.jar", "--spring.profiles.active=prod"]
